#define _CRT_SECURE_NO_WARNINGS 1

#include "bitset.h"


void func2()
{
	int a[] = { 1, 2, 3, 4, 3, 10 };
	int b[] = { 3, 10 , 3, 10};

	cross_set2<100> st1;

	for (auto e : a)
	{
		st1.set(e);
	}

	for (auto e : b)
	{
		st1.test(e);
	}
}

void func3()
{
	bloom_set<100> st;
	st.set("sorry");
	st.set("good");
	st.set("gooe");

	cout << st.test("gooe") << endl;
	cout << st.test("goo00") << endl;
}



int main()
{
	/*bitset<100> st;
	st.set(11);
	st.set(15);

	cout << st.test(15) << endl;*/

	/*two_set<100> st;
	int a[] = {1, 1, 2};
	for (auto e : a)
	{
		st.set(e);
	}

	st.print();*/

	func3();
	return 0;
}

